﻿<UserControl x:Class="UploadingControl.FileUpload"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="320" Height="70">
    <Grid x:Name="LayoutRoot" ShowGridLines="False">
        <!--<Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"></ColumnDefinition>
            <ColumnDefinition Width="120*" />
        </Grid.ColumnDefinitions>-->
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"></RowDefinition>
        </Grid.RowDefinitions>
        <!--<StackPanel Orientation="Vertical" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Width="190">-->
            <Button x:Name="btnUpload" Content="Upload File" Click="btnUpload_Click" Height="30" Margin="0" VerticalAlignment="Top"></Button>
            <ProgressBar x:Name="progressUpload" Visibility="Collapsed" Minimum="0" Margin="0,36,0,0" Maximum="1" Height="25"></ProgressBar>
            <TextBlock x:Name="txtMessage" Text="Choose File" Margin="0,40,0,0" ></TextBlock>
        <HyperlinkButton Content="Preview" Foreground="Blue" Click="hyperlinkPreview_Click" FontSize="12" Margin="100,39,0,0" Visibility="Collapsed" HorizontalAlignment="Left" Name="hyperlinkPreview" />
        <!--</StackPanel>-->
        
    </Grid>
</UserControl>
